--------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------
Replication materials for "Awareness of Executive Interference and the Demand for Judicial Independence: Evidence from Four Constitutional Courts"

Martín Gandur (mgandur@fsu.edu)
Taylor K. Chewning (tchewning@fsu.edu)
Amanda Driscoll (adriscoll@fsu.edu)

This version: October 2024, version 1.0
--------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------


1. Data files

The data files are located in the folder "data".

The file 'data_JLC.RData.RData' is the dataset to reproduce all the results in the main text and the appendix, except for Figures 1 and 2 (see below).

The file 'V-Dem-CY-Full+Others-v14.rds' is the version 14 of the V-Dem Dataset (publicly available at https://www.v-dem.net/data/the-v-dem-dataset/). This dataset is needed to reproduce Figures 1 and 2 in the main text.

--------------------------------------------------------------------------------------------

2. Codebook

The codebooks for the data files are located in the folder "codebook".

The document 'codebook.pdf' has information about the variables available in the 'data_JLC.RData.RData' dataset.

The document 'V-Dem_Codebook_v14.pdf' (publicly available at https://www.v-dem.net/documents/38/V-Dem_Codebook_v14.pdf) has information about the variables available in the 'V-Dem-CY-Full+Others-v14.rds' dataset.

--------------------------------------------------------------------------------------------

3. Replication code

The file 'JLC-replication.R' contains R code that replicates all the tables and figures in the main text and appendix.

To replicate all the tables and figures (main text and appendix), open the file 'JLC-replication.R'. Install the packages listed on lines 27-34 and set the working directory on line 37. The run the code, which will save all the tables and figures to the folder 'tab' and 'fig', respectively. After running all the code in the file 'JLC-replication.R', use the .tex file 'replicated-tables-figures.tex' to create a pdf of these tables and figures.

The R code will replicate the following results:

Main text
	Figures 1 and 2 (V-Dem indicators): Lines 878-1062
	Figure 3 (Distribution of Awareness): Lines 71-95
	Figure 4 (Distribution of Perceived Executive Influence): Lines 97-121
	Figure 5 (Distribution of Demand for Judicial Independence): Lines 123-150
	Table 2 (Determinants of Executive Influence): Lines 159-219
	Table 3 (Determinants of Demand for Judicial Independence): Lines 274-343
	Figure 6: Lines 345-489
Appendix
	Tables B2-B5 (Variable Statistics): Lines 697-767
	Table C1 (Full regression results): Lines 492-523
	Table C2 (Bivariate models): Lines 525-590
	Table C3 (Ordered logit models): Lines 592-695
	Table C4 (Pooled models): Lines 222-271
	Table D1 (Construction of Diffuse Support Scale): Lines 769-875

--------------------------------------------------------------------------------------------

4. Software

All the R code was run using the following R installation:

platform       x86_64-w64-mingw32               
arch           x86_64                           
os             mingw32                          
crt            ucrt                             
system         x86_64, mingw32                  
status                                          
major          4                                
minor          3.0                              
year           2023                             
month          04                               
day            21                               
svn rev        84292                            
language       R                                
version.string R version 4.3.0 (2023-04-21 ucrt)
nickname       Already Tomorrow